-
Notifications
You must be signed in to change notification settings - Fork 5.2k
configs: Add CONFIG_KSM=y #6709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
With this feature enabled, the kernel code size increases by ~37kB. That's not very much, even on a Pi Zero, but given that it is opt-in - both by the system as a whole and by each application - it will probably only be used by a small fraction of users, so the costs have to be scaled up accordingly. |
Hi @pelwell, Note: As English is not my first language, I've used AI assistance to help refine my points and ensure they are conveyed with clarity. |
Add KSM into default kernel config Signed-off-by: xrh0905 <[email protected]>
"long-standing" is not the same as "widespread".. How would the average home user be able to benefit from KSM? This is a genuine question, not rhetorical. |
Wow... This is a good question. |
Hi pelwell, Note: As English is not my first language, I've used AI assistance to help refine my points and ensure they are conveyed with clarity. |
That's a lot of pretty words, but they don't really address my question so I'll spell it out more clearly. The description of the CONFIG_KSM option says:
Notice the 2 conditions - KSM isn't active "until a program has madvised that an area is MADV_MERGEABLE" and "root has set /sys/kernel/mm/ksm/run to 1 (if CONFIG_SYSFS is set)". It is clear that any user could create or otherwise install a simple script to set the sysfs property "../ksm/run" to 1, but is sounds as though setting |
Sorry, I just found out previous reply contain misinfomation. |
Related issue: #1238